# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=libirman
pkgver=0.5.2
pkgrel=1
pkgdesc="Irman driver lcd library"
arch=('i686' 'x86_64')
url="http://www.lirc.org"
license=('LGPL')
backup=('etc/irman.conf')
depends=('glibc' 'lirc')
source=("http://downloads.sourceforge.net/libirman/${pkgname}-${pkgver}.tar.gz")
md5sums=('1f1175995e527c41871077d278aa7448')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --with-plugin
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
